package com.nine.service;

import java.util.List;
import org.hibernate.LockMode;
import org.springframework.context.ApplicationContext;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.nine.IService.CustomerService;
import com.nine.IService.ItemService;
import com.nine.entity.Category;
import com.nine.entity.Item;

/**
 * A data access object (DAO) providing persistence and search support for Item
 * entities. Transaction control of the save(), update() and delete() operations
 * can directly support Spring container-managed transactions or they can be
 * augmented to handle user-managed Spring transactions. Each of these methods
 * provides additional information for how to configure it for the desired type
 * of transaction control.
 * 
 * @see com.nine.entity.Item
 * @author MyEclipse Persistence Tools
 */

public class ItemServiceImpl implements ItemService {

	public List SearchItem(Category category) {
		// TODO Auto-generated method stub
		return null;
	}

	public List SearchItem(String Type, double price, double discount,
			String name) {
		// TODO Auto-generated method stub
		return null;
	}

	public void addItemToDatabase(Item item) {
		// TODO Auto-generated method stub
		
	}

	public void deleteItemFromDatabase(int itemId) {
		// TODO Auto-generated method stub
		
	}

	public void editItemToDatabase(Item item) {
		// TODO Auto-generated method stub
		
	}

	public List<Item> getItem(int cartId, int itemId) {
		// TODO Auto-generated method stub
		return null;
	}

	public List getItemInfoOfSelectedCategory(String CategoryId) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<Item> queryItemsFromDatabase(String CategoryId) {
		// TODO Auto-generated method stub
		return null;
	}

	public Item queryOneItemFromDatabase(int itemId) {
		// TODO Auto-generated method stub
		return null;
	}

}